import request from '@/utils/request'

export function getBank(specialtyId) {
    return request({
        url: 'question/bank-list-total',
        method: 'get',
        params: {
            specialtyId: specialtyId,
            page: 0,
            type:1,
            size: 1000
        }
    })
}

export function getBankList(params) {
    return request({
        url: 'question/bank-list-no-page',
        method: 'get',
        params
    })
}
//根据题库Id获取题目标签列表
export function getBankListKeyWords(params) {
    return request({
        url: 'question/bank-list-source',
        method: 'get',
        params
    })
}
